package classes.helper
{
	public class Estado2Imagen
	{
	
		public function Estado2Imagen()
		{
		}
		
		[Embed(source='icon/accept.png')] 			
		public  static var hecho:Class; 
		
		[Embed(source='icon/pencil.png')] 
		public static var haciendo:Class; 
		
		[Embed(source='icon/cancel.png')] 
		public static var porhacer:Class; 
		
		
		public static function pintaImg(item:Number):Class
		{
			var iconClass:Class;
			switch (item) {
				case 1:
					iconClass = porhacer;
					break;
				case 2:
					iconClass = haciendo;
					break;
				case 3:
					iconClass = hecho;
					break;
			}
			return iconClass;
			
		}
		
		
	}
}